import { defineStore } from 'pinia'

interface INotificationState {
    url: string
    icon: string
    text: string
    time: string
}

interface INotificationsState {
    items: INotificationState[]
}

//@ts-ignore
const useNotificationsStore = defineStore('notifications', {
    state: (): INotificationsState => ({
        items: [
            //{url: "#", icon: "fas fa-users", text: "example", time: "Now"}
        ],
    }),
    getters: {
    },
    actions: {
    },
    persist: {
        enabled: true,
    },
});

export default useNotificationsStore;
